
 begintownscript;

 variables;

 int i,j,k,r1,choice;

 body;

 beginstate INIT_STATE;

break;

 beginstate START_STATE;
	if (get_flag(9,0) == 0) {
		message_dialog("You've entered a small clearing inhabited by wolves and worgs. Unfortunately those are not the only canines populating the clearing. You see a massive beast of pure muscle and graying fur.","You remember that a part of Valorim was once annihilated by creatures known as _alien beasts_. What you see know, is an alien beast pack leader that has somehow wandered into Faerengrove.");
		set_flag(9,0,1);

		if (get_flag(1,26) == 1) {
			message_dialog("This must be the beast Hendrickson was after. You should report back to him, before the beast catches your scent.","");
}
}

		if (get_flag(1,26) >= 3) {
			set_terrain(14,7,269);
			put_stain_on_space(15,8,2);
}
break;

 beginstate EXIT_STATE;

break;

 beginstate 10;
	if (get_flag(1,26) == 3) {
		message_dialog("Well, it looks like Hendrickson was no match for the pack leader. His polished armor and sharp weaponry have been rendered useless by the beasts powerful jaws and paws.","You do, however, notice a key around Hendrickson's neck. While he no longer needs it, you take it.");
		set_flag(1,26,4);
		change_spec_item(8,1);
		put_item_on_spot(14,7,27);
		put_item_on_spot(14,7,208);
}
break;